Skip to content

[CIR] Added missing argument handling to clang toolchain #1781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 13, 2025

Conversation

tommymcm
Copy link
Contributor

@tommymcm tommymcm commented Aug 7, 2025

We were missing argument handling for -fclangir-idiom-recognizer on its own, and were not propagating -fclangir-lib-opt for the clang toolchain.

@tommymcm tommymcm marked this pull request as draft August 8, 2025 16:26
@tommymcm
Copy link
Contributor Author

tommymcm commented Aug 8, 2025

Adding tests, converted to draft until they're done.

@tommymcm tommymcm marked this pull request as ready for review August 8, 2025 16:30
@tommymcm
Copy link
Contributor Author

tommymcm commented Aug 8, 2025

Tests are all added, ready for review.

@tommymcm tommymcm force-pushed the missing-clang-arguments branch from 3d3af07 to a4fb46f Compare August 11, 2025 17:09
@tommymcm
Copy link
Contributor Author

Rebased on top of the latest rebase.

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM minor nit

Copy link

github-actions bot commented Aug 12, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@bcardosolopes bcardosolopes merged commit 3abcc2c into llvm:main Aug 13, 2025
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants